package com.tutu.hosp.repository;

import com.tutu.model.hosp.Schedule;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @Program: yygh_parent
 * @Description: 排班mapper接口
 * @Author: JK.TuTu
 * @Create: 2022-09-24 22:31
 **/
@Mapper
public interface ScheduleRepository extends MongoRepository<Schedule,String> {
    /**
     * 上传排班信息
     * @param hoscode
     * @param hosScheduleId
     * @return
     */
    Schedule getScheduleByHoscodeAndHosScheduleId(String hoscode,String hosScheduleId);
}
